<?php
/**
 * WB_S3Response class
 * 
 * Serves as base class - implements an Iterator interface.
 * 
 * @author Jean-Lou Dupont
 * @version @@package-version@@
 * @id $Id: S3Response.php 133 2008-03-14 01:02:51Z jldupont $
 */

 //{{include
 require_once 'web-bloks/AmazonS3/S3Base.php';
 //include}}
 
abstract class WB_S3Response
	extends WB_S3Base
 	implements Iterator 
 {
 	/**
 	 * the raw input
 	 * @private
 	 */
	var $raw = null;
	
 	/**
 	 * Constructor
 	 */
	public function __construct( $raw )
	{
		$this->raw = $raw->getBody();
		$this->init();
	}
	// %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%		
	// INTERNAL methods
	// %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%				
	abstract protected function init();
	
 } // end class declaration